<?php
/**
 * Created by PhpStorm.
 * User: wangwenfan
 * Date: 16-10-17
 * Time: 下午1:48
 */

namespace Common\Model;
use Think\Model;

class ClassTableModel extends Model
{
    protected $_validate = array(
        array('sid','require', '请选择当前学期'),
        array('gid','require', '请选择年级'),
        array('classid','require', '请选择班级'),
    );
    protected $_auto=array(
        array('update_time','time',3,'function'),
        array('create_time','time',1,'function'),
    );
    

}